

#ifndef GHEADER_H
#define GHEADER_H

#include <configure/Struct.h>




#define EPSILON_E4 (float)(1E-4)
#define EPSILON_E5 (float)(1E-5)
#define EPSILON_E6 (float)(1E-6)

#define FLOAT_EQ(a,b)            ((fabs(a-b)<EPSILON_E4) ? 1 : 0)
//#define FLOAT_EQ_A(a,b)        ((fabs(a-b)/a < EPSILON_E4 || fabs(a-b)/b < EPSILON_E4) ? 1 : 0)
//#define FLOAT_EQ_B(a,b)	 ((fabs(a-b)/a < EPSILON_E4 && fabs(a-b)/b < EPSILON_E4) ? 1 : 0)





#endif // GHEADER_H
